<?php
namespace  houdun\model;
use houdun\model\Base;

class Model{
    public function __call($name, $arguments)
    {
       return self::runParse($name, $arguments);
    }
    public static function __callStatic($name, $arguments)
    {
       return self::runParse($name, $arguments);
    }
    public static function runParse($name, $arguments){
        $class=get_called_class();
        return call_user_func_array ([new Base($class),$name],$arguments);

    }
}